home *** CD-ROM | disk | FTP | other *** search
- Path: news.mcs.net!not-for-mail
- From: supercat@MCS.COM (John Payson)
- Newsgroups: comp.sys.cbm,comp.os.misc,alt.comp.hardware.homebuilt,comp.sys.apple2,comp.sys.apple2.programmer,comp.sys.atari.8bit
- Subject: Re: 6502 Multitasking OS announce
- Date: 18 Mar 1996 19:51:32 -0600
- Organization: /usr/lib/news/organi[sz]ation
- Message-ID: <4il3v4$qa4@Mercury.mcs.com>
- References: <4i94fs$stj@narses.hrz.tu-chemnitz.de> <holger.948.00030EE6@deep.hb.provi.de> <4ijtbe$7ca@no-names.nerdc.ufl.edu> <4ijuic$iiq@gatekeeper.liffe.com>
- NNTP-Posting-Host: mercury.mcs.com
-
- [Apple and Atari groups left in in case they do anything like this; homebuilt
- group in case someone wants to build something like this]
-
- In article <4ijuic$iiq@gatekeeper.liffe.com>,
- Ralph Mason <ralph.mason@liffe.com> wrote:
- >Michael Ellis <michael@anest4.anest.ufl.edu> wrote:
- >
- >> The way to get around this is to pass all parameters on the stack, and use separate
- >> stacks for the separate tasks.
- >
- >All well & good BUT the 6502 does not have a relocatable stack pointer
- >so your kinda left with a bit of a problem when it commes to
- >multitasking, ie you cant give each process it's own stack without
- >copying the whole stack ( maybe just to the current sp value? )during
- >each context switch.
-
- On the Commodore 128, one of the few useful things their MMU actually does
- is to allow the user to relocate addresses $0000-$00FF and $0100-$01FF to
- any page in memory. With such an MMU a full multi-tasking operating system
- can become a practical option since tasks can freely use zero page and stack
- without needing to allocate them; they can then access the rest of memory
- using indirect indexed or indexed indirect addressing (which if they have all
- of zero page to play with should be quite adequate).
- --
- -------------------------------------------------------------------------------
- supercat@mcs.com | "Je crois que je ne vais jamais voir... | J\_/L
- John Payson | Un animal aussi beau qu'un chat." | ( o o )
-